SmartCrawl\WPML\Controller S

Total Complexity 44
Dependencies 5
Dependents 1
Total lines 395
Lines of code 205
Logical lines of code 105
Comment lines 131
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_homepage_translation_ids()
S
49 6 36
limit_sitemap_posts_by_language()
S
56 4 19
limit_sitemap_terms_by_language()
S
58 4 16
add_homepage_versions()
S
56 3 19
hook_with_wpml()
S
59 3 15
add_homepage_versions_to_partial()
S
67 4 7
exclude_homepage_translations()
S
64 4 10
get_post_language_code()
S
60 3 13
translate_post_url()
S
61 2 12
sitemap_for_each_domain()
S
60 1 15
change_post_analysis_language()
S
71 2 6
__construct()
S
76 1 4
should_run()
S
80 1 3
init()
S
82 1 3
append_language_code_to_cache()
S
74 1 4
fix_duplicate_urls()
S
67 1 7
add_permalink_filters()
S
70 1 6
remove_permalink_filters()
S
70 1 6
get_sitemap_homepage_item()
S
74 1 4